package org.example.springcloud.feign;

import org.example.springcloud.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("provider-user")
public interface FeignClient01 {
    @GetMapping("/user/{id}")
    User getOrder(@PathVariable long id);
}
